package edu.noteBook.service;

import edu.noteBook.Pojo.User;
import org.springframework.stereotype.Service;

import java.util.List;


public interface UserService {
    User login(String username, String password);
    List<User> queryUser(String username, String email);
    boolean addUser(User user);
    boolean deleteUser(Integer id);
    int updateUser(User user);
    User queryUserByID(Integer id);
}
